package com.mvc.config;

import java.util.HashMap;
import java.util.Map;

/**
 * mvc配置对象
 * @author asus
 *
 */

public class ConfigBean {
	private String path = "";
	private String formBeanName = "";
	private String formBeanClassName = "";
	private String actionClassName = "";
	private Map<String, ActionForward> forward = new HashMap<String, ActionForward>();
	
	public String getPath() {
		return path;
	}
	public void setPath(String path) {
		this.path = path;
	}
	public String getFormBeanName() {
		return formBeanName;
	}
	public void setFormBeanName(String formBeanName) {
		this.formBeanName = formBeanName;
	}
	public String getFormBeanClassName() {
		return formBeanClassName;
	}
	public void setFormBeanClassName(String formBeanClassName) {
		this.formBeanClassName = formBeanClassName;
	}
	public String getActionClassName() {
		return actionClassName;
	}
	public void setActionClassName(String actionClassName) {
		this.actionClassName = actionClassName;
	}
	public Map<String, ActionForward> getForward() {
		return forward;
	}
	public void addForward(String name, ActionForward forward) {
		this.forward.put(name, forward);
	}
}